package Com.amit.Java_New_Feature;

public class Lab6 
{

	static void display(int n,String ...args)
	{
		System.out.println("Display method ");
		System.out.println("n is:"+n);
		for(String i:args)
		{
			System.out.println(i);
		}
	}
	
	public static void main(String[] args) {
		
		display(2, "hello");
		display(40, "my","name","is","khan");
		
		
	}

}
